package com.wwl.pojos;

import java.util.Date;

/**
 * Postcomments entity. @author MyEclipse Persistence Tools
 */

public class Postcomments implements java.io.Serializable {

	// Fields

	private Long commentid;
	private Long postid;
	private Long userid;
	private Date commentdate;
	private String comment;
	private String ip;

	// Constructors

	/** default constructor */
	public Postcomments() {
	}

	/** full constructor */
	public Postcomments(Long postid, Long userid, Date commentdate,
			String comment, String ip) {
		this.postid = postid;
		this.userid = userid;
		this.commentdate = commentdate;
		this.comment = comment;
		this.ip = ip;
	}

	// Property accessors

	public Long getCommentid() {
		return this.commentid;
	}

	public void setCommentid(Long commentid) {
		this.commentid = commentid;
	}

	public Long getPostid() {
		return this.postid;
	}

	public void setPostid(Long postid) {
		this.postid = postid;
	}

	public Long getUserid() {
		return this.userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public Date getCommentdate() {
		return this.commentdate;
	}

	public void setCommentdate(Date commentdate) {
		this.commentdate = commentdate;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getIp() {
		return this.ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

}